/**
 * 测试人员路由
 *
 * Created by snowingsea on 2020/02/06.
 */

/**
 * Export model definition object.
 */
module.exports = (app, prefix) => {
  const testerPrefix = `${prefix}/tester`;

  require('./license')(app, testerPrefix);
  require('./environments')(app, testerPrefix);
  require('./projects')(app, testerPrefix);
  require('./project-versions')(app, testerPrefix);
  require('./files')(app, testerPrefix);
  require('./functions')(app, testerPrefix);
  require('./file-elements')(app, testerPrefix);
  require('./tests')(app, testerPrefix);
  require('./tasks')(app, testerPrefix);
  require('./report')(app, testerPrefix);
  require('./machine')(app, testerPrefix);
  require('./machine-project-type')(app, testerPrefix);
  require('./analyze-template')(app, testerPrefix);
  require('./analyze-rules')(app, testerPrefix);
  require('./code-defects')(app, testerPrefix);
  require('./ephemeral-data')(app, testerPrefix);
  require('./global-config')(app, testerPrefix);
  require('./code-instrumentations')(app, testerPrefix);
};
